<center>
<br />
<table border="0" width="99%" cellspacing="0" cellpadding="5">
		<tr bgcolor="#dddddd" align="center">
			<th style="color:#050505;" colspan="7">Asked Questions</th>
		</tr>
		
		<tr><td colspan="7">&nbsp;</td></tr>

		<tr align="left">
			<th>Name</th>
			<th>Your E-Mail</th>
			<th>Company Name</th>
			<th>Telephone</th>
			<th>Mobile</th>
			<th>Upload File</th>
			<th>Question</th>
		</tr>

		<?php
			$data = mysql_query("select * from question_asked order by name");
			while($row = mysql_fetch_array($data))
			{
		?>

		<tr>
			<td><?php echo $row['name'];?></td>
			<td><?php echo $row['email'];?></td>
			<td><?php echo $row['comp_name'];?></td>
			<td><?php echo $row['tel'];?></td>
			<td><?php echo $row['mob'];?></td>
			<td><?php echo $row['upload_file'];?></td>
			<td><a title="<?php echo $row['quest'];?>"><?php echo substr($row['quest'],0, 10);?></a></td>
		</tr>
		<?php
			}
		?>
</table>
</center>